package cn.tworice.client.dao;

import cn.tworice.common.entity.code.*;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Repository
public interface ShoppingOrderDao {
    List<ShoppingOrder> queryList(@Param("i") int i, @Param("pageSize") Integer pageSize, @Param("entity") ShoppingOrder entity);

    int queryTotal(ShoppingOrder entity);

    int insert(ShoppingOrder entity);

    int update(ShoppingOrder entity);

    int del(@Param("ids") Integer[] ids);

    int insertList(@Param("list") List<ShoppingOrder> list);

    ShoppingOrder queryInfo(Long id);
}